﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Globalization;
using System.Text;
using System.Security.Cryptography;
using System.IO;

using CE.Global;
using CE.Promotion;
using CE.Database;
using CE.Mail;
using CE.Configuration;

public partial class WorldCup_thankyou : MyLanguageAndSessionBasePage
{
    protected void Page_Load(object sender, EventArgs e)
    {
        string _strWCActive = CE.Configuration.MyConfigurationManager.GetAppSettingValue("TH.IsWCActive");
        if (_strWCActive == "0")
        {
            if (Session[CE.Global.General.Guest] == null)
            {
                Response.Redirect("~/Default.aspx");
            }
        }
        LiteralControl newln = new LiteralControl(Environment.NewLine);
        HtmlMeta language = new HtmlMeta();
        language.Name = "language";
        language.Content = Resources.Title.PageLanguage;

        HtmlLink css = new HtmlLink();
        css.Href = Resources.Football.CssFootballUrl;
        css.Attributes["rel"] = "stylesheet";
        css.Attributes["type"] = "text/css";
        css.Attributes["media"] = "all";
        Page.Header.Controls.Add(css);
        
        Page.Header.Title = Resources.Football.TitleTQ;
        //HtmlMeta keywords = new HtmlMeta();
        //keywords.Name = "keywords";
        //keywords.Content = Resources.Football.MetaKeyword;
        //HtmlMeta description = new HtmlMeta();
        //description.Name = "description";
        //description.Content = Resources.Football.MetaDescription;
               

    }
}
